package com.yonyou.pmclouds.plan.planindex.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * 计划-指标关联VO
 *
 * @author th
 * @date 2019/11/13 19:04
 */
@Data
@Table(name = "pm_plan_index")
public class PlanIndexVO extends SuperVO {
    public static final String EXPECT_TOTAL = "expectTotal";

    @Id
    private String pkPlanIndex;
    /**
     * 指标档案主键
     */
    private String pkMeasureIndex;
    private String pkPlan;
    private String pkProject;
    /**
     * 计划值(数量)
     */
    private Double expectTotal;

    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;

    /**  对应的指标档案的属性 */
    @Transient
    private String code;
    @Transient
    private String name;
    @Transient
    private String unit;
    @Transient
    private String memo;
    /**
     * 累计填报指标数量
     */
    @Transient
    private Double completionsNum;

}
